<?php if($this->uri->segment(3)=="edit") : ?>
    <?php echo form_hidden('kode_tanah',$_POST['kode_tanah']) ?>
<?php else: ?>
    <?php echo form_input(array('name'=>'kode_tanah','label'=>'Kode','maxlength'=>'30')) ?>
<?php endif ?>

<?php echo form_input(array('name'=>'nama_tanah','label'=>'Nama Lokasi','maxlength'=>'100','size'=>'50')) ?>
<?php echo form_input(array('name'=>'alamat','maxlength'=>'100','size'=>'50')) ?>
<?php echo form_input(array('name'=>'tanggal_perolehan','maxlength'=>'10','class'=>'tanggal')) ?>
<?php echo form_input(array('name'=>'hak_status_tanah','label'=>'Status Hak Tanah','maxlength'=>'100')) ?>
<?php echo form_input(array('name'=>'tanggal_sertifikat','maxlength'=>'10','class'=>'tanggal')) ?>
<?php echo form_input(array('name'=>'nomor_sertifikat','maxlength'=>'30')) ?>
<?php echo form_input(array('name'=>'penggunaan','maxlength'=>'100','size'=>'50')) ?>
<?php echo form_input(array('name'=>'asal_perolehan','maxlength'=>'100','size'=>'50')) ?>
<?php echo form_input(array('name'=>'luas','label'=>'Luas(M'.persegi().')','size'=>'10')) ?>
<?php echo form_input(array('name'=>'harga_per_meter','label'=>'Harga Per Meter (Rp)','maxlength'=>'30')) ?>
<?php echo form_input(array('name'=>'nilai_perolehan','label'=>'Nilai Perolehan (Rp)')) ?>
<?php echo form_input(array('name'=>'keterangan','size'=>'50')) ?>

